﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Besture.Bll;
using Besture.Model;
using Besture.Common;
using Besture.Common.Helper;
using Besture.UI.Common;

namespace Besture.UI.Portal.Pay
{
    public partial class OrderAffirm : UserPage
    {
        public OrderInfo_Order_Model model = null;

        public OrderModel oModel = null;

        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            { 
                oModel = new OrderDac().GetModel(Convert.ToInt32(StringHelper.Query("OrderId")));
                model = (OrderInfo_Order_Model)Session["OrderInfo"];
                if (model != null)
                {
                    this.lblHotelName1.Text = model.HotelsName;
                    this.lblHotelName2.Text = model.HotelsName;
                    this.lblTime.Text = model.BeginTime + " 至 " + model.EndTime + "  " + model.DaySpan;
                    this.lblRoomName.Text = model.RoomName;
                    this.lblRoomNum.Text = model.RoomQuantity;
                    this.lblUserName.Text = model.UserName1 + " " + model.UserName2;
                    this.lblArrive.Text = model.Arrive;
                } 
            }
        }
    }
}